package com.atguigu.common.exception;

/**
 * Copyright (c) 2019-2029 星大陆 All Rights Reserved
 * <p>
 * Project: gulimall
 * Package: com.atguigu.gulimall.order.exception
 * Version: V 1.0
 * <p>
 * Created by guoxiaolong on 2021/01/19 18:50
 */
public class NoStockException extends RuntimeException {
    public NoStockException(Long skuId) {
        super("商品id" + skuId + "; 没有足够的库存了");
    }

    public NoStockException(String message) {
        super(message);
    }
}
